package by.grsu.samusev.entity;

import java.io.Serializable;

public class Driver implements Serializable {

	/**
	 * 
	 */
	private static final long serialVersionUID = 7902524553663453224L;
	private Long carId;
	private Long id;
	public Driver(){
		super();
	}	
	public Driver(String name,Long carId){
		super();
		this.setName(name);
		this.setCarId(carId);
	}
	private String name;
	public String getName() {
		return name;
	}
	public void setName(String name) {
		this.name = name;
	}
	public Long getId() {
		return id;
	}
	public void setId(Long id) {
		this.id = id;
	}
	public Long getCarId() {
		return carId;
	}
	public void setCarId(Long carId) {
		this.carId = carId;
	}

}
